Skip to main content

Artificial Intelligence and Emerging Technologies

Subject: Computer Science
Topic: 8
Cambridge Code: 0478


Artificial Intelligence Basics

Artificial Intelligence (AI) - Machines performing tasks requiring intelligence

Narrow vs General AI

Narrow AI (Weak AI):

  • Designed for specific tasks
  • Current technology level
  • Examples: Chess, image recognition, chatbots

General AI (Strong AI):

  • Hypothetical general intelligence
  • Would match human intelligence
  • Not yet achieved
  • Theoretical goal

Machine Learning

Machine Learning - Systems improve through experience

Learning Approaches

Supervised Learning:

  • Learns from labeled examples
  • Has correct answers provided
  • Example: Image classification with labeled photos
  • Used for: Prediction, classification

Unsupervised Learning:

  • Learns from unlabeled data
  • Finds patterns independently
  • Example: Customer segmentation without labels
  • Used for: Clustering, pattern discovery

Reinforcement Learning:

  • Learns through interaction
  • Receives rewards/penalties
  • Example: Game playing (AlphaGo)
  • Used for: Control, optimization

Training and Testing

Process:

  1. Collect data: Gather examples
  2. Prepare data: Clean, organize, split
  3. Train model: Learn from data
  4. Test model: Evaluate performance
  5. Validate: Check on new data
  6. Deploy: Use in production

Overfitting and Underfitting

Overfitting:

  • Model learns noise in training data
  • Poor performance on new data
  • "Memorizes" rather than learns
  • Example: 100% training accuracy, 50% test accuracy

Underfitting:

  • Model too simple for problem
  • Poor performance on both training and test
  • Hasn't learned patterns
  • Example: 60% training accuracy, 55% test accuracy

Neural Networks

Neural Network - Inspired by biological neurons

Structure

Layers:

  • Input layer: Data input
  • Hidden layers: Processing
  • Output layer: Result

Neurons:

  • Connected to neurons in next layer
  • Weighted connections
  • Activation function

How They Work

Process:

  1. Input: Data enters input layer
  2. Forward pass: Propagates through network
  3. Weights applied: Connections have weights
  4. Activation: Neurons activate based on input
  5. Output: Final layer produces result
  6. Backpropagation: Error propagates backward
  7. Update weights: Adjust to reduce error

Deep Learning

Deep Learning - Neural networks with many layers

Advantages:

  • Learns complex patterns
  • Better feature extraction
  • State-of-the-art performance

Disadvantages:

  • Requires lots of data
  • Computationally intensive
  • Needs powerful GPUs
  • "Black box" - hard to interpret

AI Applications

Natural Language Processing (NLP)

Tasks:

  • Machine translation (Google Translate)
  • Sentiment analysis (review classification)
  • Chatbots (customer service)
  • Text generation (content creation)

Techniques:

  • Tokenization
  • Parsing
  • Word embeddings

Computer Vision

Tasks:

  • Image recognition (classify images)
  • Object detection (locate objects)
  • Facial recognition (identify faces)
  • Medical imaging (diagnose diseases)

Techniques:

  • Edge detection
  • Feature extraction
  • Convolutional neural networks

Recommendation Systems

Purpose: Suggest items users might like

Methods:

  • Content-based: Similar items to liked ones
  • Collaborative filtering: Similar users' preferences
  • Hybrid: Combination approach

Examples: Netflix, Amazon recommendations

Autonomous Systems

Self-driving cars:

  • Computer vision for perception
  • Sensors (camera, LIDAR, radar)
  • Decision-making systems
  • Path planning

AI Ethics and Concerns

Bias and Fairness

Bias in AI:

  • Training data reflects real-world bias
  • Model perpetuates discrimination
  • Examples: Hiring bias, loan denial bias

Fairness:

  • Equal treatment
  • Transparency
  • Bias detection and mitigation

Privacy

Data collection:

  • AI requires lots of personal data
  • Misuse of private information
  • Unauthorized tracking

Protection:

  • Data minimization
  • Anonymization
  • Consent

Transparency

Black box problem:

  • Deep learning decisions unexplainable
  • Users don't know why decisions made
  • Critical in high-stakes areas (medicine, law)

Solutions:

  • Explainable AI (XAI)
  • Model interpretation
  • Decision documentation

Job Displacement

Automation:

  • AI replaces certain jobs
  • Changes job market
  • Need for reskilling

Societal impact:

  • Economic inequality
  • Social disruption
  • Need for policy responses

Emerging Technologies

Internet of Things (IoT)

IoT - Connected devices collecting/sharing data

Components:

  • Sensors: Collect data
  • Connectivity: Communicate
  • Processing: Analyze data
  • Application: Use information

Examples:

  • Smart home (temperature, lights)
  • Wearables (fitness trackers)
  • Industrial sensors
  • Connected cars

Challenges:

  • Security vulnerabilities
  • Privacy concerns
  • Standardization needed

Blockchain

Blockchain - Distributed ledger technology

Structure:

  • Blocks containing transactions
  • Linked chronologically
  • Cryptographically secured
  • Decentralized copies

Applications:

  • Cryptocurrencies (Bitcoin)
  • Smart contracts
  • Supply chain tracking
  • Voting systems

Advantages:

  • Immutable records
  • Transparent
  • Decentralized
  • Secure

Quantum Computing

Quantum computers - Use quantum mechanics principles

Qubits: Can be 0, 1, or both (superposition)

Advantages:

  • Exponentially faster for certain problems
  • Solve complex optimization
  • Drug discovery acceleration
  • Cryptography breaking

Current status:

  • Experimental, limited usable qubits
  • Error rates still high
  • Not yet practical for most tasks

Big Data

Big Data - Massive, complex data sets

Characteristics:

  • Volume: Huge amounts
  • Velocity: Fast generation/processing
  • Variety: Multiple types

Applications:

  • Business intelligence
  • Scientific research
  • Healthcare analytics
  • Predictive modeling

Challenges:

  • Storage and processing
  • Privacy and security
  • Data quality
  • Analysis complexity

Key Points

  1. AI: Machines performing intelligent tasks
  2. Machine learning: Systems improve from data
  3. Supervised learning: Learn from labeled examples
  4. Unsupervised learning: Find patterns independently
  5. Neural networks: Inspired by biological neurons
  6. Deep learning: Many-layered networks
  7. AI applications: NLP, vision, recommendations, autonomous systems
  8. Ethics: Bias, privacy, transparency concerns
  9. IoT: Connected devices and sensors
  10. Emerging tech: Blockchain, quantum computing

Practice Questions

  1. Explain machine learning types
  2. Describe neural network training
  3. Identify AI applications
  4. Analyze bias in AI systems
  5. Discuss privacy concerns
  6. Explain IoT systems
  7. Compare emerging technologies

Revision Tips

  • Know AI and ML differences
  • Understand learning approaches
  • Know neural network basics
  • Understand overfitting/underfitting
  • Know AI applications
  • Understand ethical concerns
  • Know emerging technologies
  • Practice case studies